package cn.lili.modules.order.order.mapper;

import cn.lili.modules.order.order.entity.dos.Order;
import cn.lili.modules.order.order.entity.dos.OrderDelivery;
import cn.lili.modules.order.order.entity.vo.TradeCarVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface OrderDeliveryMapper extends BaseMapper<OrderDelivery> {

    /**
     * 获取配货信息
     *
     * @param orderSn 订单编号
     */
    @Select("select lod.order_sn ,lod.pics ,lod.remark ,lod.create_time from li_order_delivery lod where lod.order_sn = #{orderSn}")
    OrderDelivery getDeliveryByOrderSn(String orderSn);

}
